home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 4.4 KB | 170 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:CPlusPlus:PfTLItr.xh.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emitxh.dll: somc/smmain.c
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODPlatformTypeSetIterator_xh
- #define SOM_ODPlatformTypeSetIterator_xh
-
- class ODPlatformTypeSetIterator;
-
- #define ODPlatformTypeSetIterator_MajorVersion 0
- #define ODPlatformTypeSetIterator_MinorVersion 0
-
- /* C++ som defs */
- #include <somcls.xh>
-
- /* Include C++ parent defs */
- #ifndef SOM_ODObject_xh
- #include <ODObject.xh>
- #endif
-
- #ifndef ODPlatformTypeSetIterator_API
- #define ODPlatformTypeSetIterator_API
- /*
- * -- The Class API
- */
-
- /*
- * Start of user-defined types:
- */
- class ODExtension;
- class ODPlatformTypeSet;
-
- /*
- * End of user-defined types.
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
-
- /* A procedure to create the ODPlatformTypeSetIterator Class */
- SOMEXTERN SOMClass * SOMLINK ODPlatformTypeSetIteratorNewClass(
- integer4 majorVersion,
- integer4 minorVersion);
-
- /* The API to the ODPlatformTypeSetIterator class object, and the methods it introduces. */
- typedef struct ODPlatformTypeSetIteratorClassDataStructure {
- SOMClass *classObject;
- somMToken InitODPlatformTypeSetIterator;
- somMToken IsNotComplete;
- somMToken First;
- somMToken Next;
- } ODPlatformTypeSetIteratorClassDataStructure;
- #ifdef SOM_NO_DATA_EXPORTS
- SOMEXTERN ODPlatformTypeSetIteratorClassDataStructure * ODPlatformTypeSetIteratorGetClassData ( void );
- # undef ODPlatformTypeSetIteratorClassData
- # define ODPlatformTypeSetIteratorClassData (*ODPlatformTypeSetIteratorGetClassData())
- #else
- SOMEXTERN ODPlatformTypeSetIteratorClassDataStructure ODPlatformTypeSetIteratorClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
- #define _ODPlatformTypeSetIterator ODPlatformTypeSetIteratorClassData.classObject
-
- /* The API to parentMtabs for ODPlatformTypeSetIterator, and the instance data it introduces. */
- SOMEXTERN struct ODPlatformTypeSetIteratorCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODPlatformTypeSetIteratorCClassData;
-
- /*
- * -- Typedefs for Procedures that support Methods introduced by ODPlatformTypeSetIterator
- */
- SOMEXTERN {
- typedef void (* SOMLINK somTD_ODPlatformTypeSetIterator_InitODPlatformTypeSetIterator)(ODPlatformTypeSetIterator *somSelf, Environment *ev,
- ODPlatformTypeSet* typeSet);
- typedef ODBoolean (* SOMLINK somTD_ODPlatformTypeSetIterator_IsNotComplete)(ODPlatformTypeSetIterator *somSelf, Environment *ev);
- typedef ODPlatformType (* SOMLINK somTD_ODPlatformTypeSetIterator_First)(ODPlatformTypeSetIterator *somSelf, Environment *ev);
- typedef ODPlatformType (* SOMLINK somTD_ODPlatformTypeSetIterator_Next)(ODPlatformTypeSetIterator *somSelf, Environment *ev);
- }
-
- #endif /* ODPlatformTypeSetIterator_API */
-
-
- /*
- * -- Method Tokens are Thunks
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * -- The C++ Wrapper Class for ODPlatformTypeSetIterator
- */
- class ODPlatformTypeSetIterator : public ODObject
- {
- public:
-
- void *operator new(size_t size)
- {
- SOM_IgnoreWarning(size);
- if (!ODPlatformTypeSetIteratorClassData.classObject)
- ODPlatformTypeSetIteratorNewClass(ODPlatformTypeSetIterator_MajorVersion,ODPlatformTypeSetIterator_MinorVersion);
- return (void *)
- ((somTD_SOMClass_somNew)
- somresolve_((SOMObject *)((void*)(ODPlatformTypeSetIteratorClassData.classObject)),
- SOMClassClassData.somNew))
- ((SOMClass *)((void*)(ODPlatformTypeSetIteratorClassData.classObject)));
- }
-
- void operator delete(void * obj)
- {
- ((SOMObject *)obj)->somFree();
- }
-
- /* public method: InitODPlatformTypeSetIterator */
- void InitODPlatformTypeSetIterator(Environment *ev,
- ODPlatformTypeSet* typeSet)
- {
- SOM_Resolve(this,ODPlatformTypeSetIterator,InitODPlatformTypeSetIterator)
- (this,ev,typeSet);
- }
-
-
- /* public method: IsNotComplete */
- ODBoolean IsNotComplete(Environment *ev)
- {
- return SOM_Resolve(this,ODPlatformTypeSetIterator,IsNotComplete)
- (this,ev);
- }
-
-
- /* public method: First */
- ODPlatformType First(Environment *ev)
- {
- return SOM_Resolve(this,ODPlatformTypeSetIterator,First)
- (this,ev);
- }
-
-
- /* public method: Next */
- ODPlatformType Next(Environment *ev)
- {
- return SOM_Resolve(this,ODPlatformTypeSetIterator,Next)
- (this,ev);
- }
-
-
-
- }; /* ODPlatformTypeSetIterator */
-
-
-
- #endif /* SOM_ODPlatformTypeSetIterator_xh */
-